import request from "@/request";
import {httpForm} from "@/request/http";

// 查询ICO产品列表
export const _getIcoList = (obj) => {
    return httpForm({
        url: "/api/icoproduct!list.action",
        method: "post",
    },obj)
}
//获取ICO产品详情
export const _getIcoDetails = (params) => {
    return httpForm({
        url: "/api/icoproduct!get.action",
        method: "post",
    },params)
}
//ICO下单
export const _icoApplyOrder = (params) => {
    return httpForm({
        url: "/api/icouserorder!open.action",
        method: "post",
    },params)
}

//用户产品列表
export const _icoUserOrder = (params) => {
    return httpForm({
        url: "/api/icouserorder!list.action",
        method: "post",
    },params)
}
//获取用户产品详情
export const _icoUserOrderDetails = (params) => {
    return httpForm({
        url: "/api/icouserorder!get.action",
        method: "post",
    },params)
}